<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <link href="/static/v5/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/static/v5/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="/static/v5/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link href="/static/v5/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
    <link href="/static/v5/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/static/v5/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/static/v5/css/kkpager_blue.css" />
    <link href="/static/v5/lib/lightbox2/2.8.1/css/lightbox.css" rel="stylesheet" type="text/css" >
    <title></title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 招聘管理 <span class="c-gray en">&gt;</span> 简历列表  <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">

    <div class="mt-20">
        <table class="table table-border table-bordered table-hover table-bg table-sort">
            <thead>
            <tr class="text-c">
                <th width="50">简历id</th>
                <th width="50">姓名</th>

                <th width="20">性别</th>
                <th width="50">年龄</th>
                <th width="50">求职状态</th>
                <th width="50">学历</th>
                <th width="50">工作经验 年</th>

                <th width="50">工资区间</th>
                <th width="50">照片</th>
                <th width="50">操作</th>
            </tr>
            </thead>

                <tbody >
                <th:block  th:each="bean: ${retInfo.obj.list}">
                    <tr class="text-c" id="table">
                        <td th:text="${bean.resume_id}"></td>
                        <td th:text="${bean.user_name}"></td>
                        <td>
                            <th:block  th:if="${bean.sex == 1}"> 男</th:block>
                            <th:block  th:if="${bean.sex == 2}"> 女</th:block>
                        </td>
                        <td th:text="${bean.age}"></td>
                        <td th:text="${bean.job_status}"></td>
                        <td th:text="${bean.diploma}"></td>
                        <td th:text="${bean.work_ages}"></td>

                        <td th:text="${bean.wage}"></td>
                        <td><a th:href="${bean.head_img}"  data-lightbox="gallery"> <img th:src="${bean.head_img}" height="50px"/> </a></td>
                        <td>
                            <th:block  th:each="funcion, funcionStat: ${funcions.obj.sonFuncion}">
                                <a th:if="${funcion.func_name == '简历详情'}"  th:href="${funcion.link_url + bean.resume_id  + '&token='  + token}">简历详情</a>
                            </th:block>
                        </td>
                    </tr>
                </th:block>
            </tbody>
        </table>
    </div>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/static/v5/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/v5/js/kkpager.js"></script>
<script type="text/javascript" src="/static/v5/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="/static/v5/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/static/v5/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/static/v5/lib/lightbox2/2.8.1/js/lightbox.min.js"></script>
<script type="text/javascript">
    $(function(){
        $(".portfolio-area li").Huihover();
    });
</script>
<div th:if="${retInfo.mark == '0'}">
    <div style="margin: 0px 20px 0px 20px">
        <div id="kkpager"></div>
    </div>
    <script  th:inline="javascript">
        /*<![CDATA[*/
        var totalPage = [[${retInfo.obj.total_page}]];
        var totalRecords = [[${retInfo.obj.total_record}]];
        var pageNo = [[${retInfo.obj.current_page}]];
        var page_size = [[${retInfo.obj.page_size}]];
        var father_id = [[${father_id}]];
        var user_name = [[${retInfo.obj.user_name}]];
        var phone_no = [[${retInfo.obj.phone_no}]];
        /*]]>*/
        //init
        $(function() {

            if(!pageNo){
                pageNo = 1;
            }
            //生成分页
            //有些参数是可选的，比如lang，若不传有默认值
            kkpager.generPageHtml({
                pno : pageNo,
                //总页码
                total : totalPage,
                //总数据条数
                totalRecords : totalRecords,

                getLink : function(n){
                    var href = "/v5/resume/list" + "?page_size=" + page_size + "&father_id="+ father_id + "&current_page=" + n + "&token="  + sessionStorage.getItem("token")
                        + "&phone_no="+ phone_no       + "&user_name="+ user_name
                    return href;
                }

            });
        });


    </script>
</div>

</body>
</html>
